package xframe.common;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class StopListener
    implements ServletContextListener
{

    public StopListener()
    {
    }

    public void contextDestroyed(ServletContextEvent sce)
    {
        try
        {
            System.out.println("Stopping Wizard.........................");
        }
        catch(Exception ex)
        {
            System.err.println("StopListener thrown Exception : ");
            ex.printStackTrace();
        }
    }

    public void contextInitialized(ServletContextEvent sce)
    {
        System.out.println("Now, X-FrameWorks loading.........................");
    }
}
